// -----------------------------------------------------------------------
//  <copyright file="ResourceType.cs" company="LiuliuSoft">
//      Copyright (c) 2022-2023 DaprPlus. All rights reserved.
//  </copyright>
//  <site>https://www.dapr.plus</site>
//  <last-editor>郭明锋</last-editor>
//  <last-date>2023-12-27 10:57</last-date>
// -----------------------------------------------------------------------

namespace DaprPlus.Authorization;

/// <summary>
/// 表示资源类型的枚举，如Entity/Api/Function/UI/File
/// </summary>
public enum ResourceType
{
    /// <summary>
    /// 数据实体资源
    /// 数据实体资源是权限验证的核心，也是角色权限分配的对象，资源操作的落点。
    /// </summary>
    Entity = 1,

    /// <summary>
    /// 客户端任务
    /// </summary>
    ClientTask = 2,
}
